/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pigx.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 燃料套餐
 *
 * @author pigx code generator
 * @date 2022-12-26 11:06:09
 */
@Data
@TableName("fuel_set_meal")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "燃料套餐")
public class FuelSetMeal extends Model<FuelSetMeal> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="主键")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 套餐名称
     */
    @ApiModelProperty(value="套餐名称")
    private String name;

    /**
     * 资金价格
     */
    @ApiModelProperty(value="资金价格")
    private BigDecimal capitalPrice;

    /**
     * 燃料数量
     */
    @ApiModelProperty(value="燃料数量")
    private BigDecimal fuelQuantity;

	/**
	 * 贡献值
	 */
	@ApiModelProperty(value="贡献值")
	private BigDecimal contributionValue;

    /**
     * 是否启用  0 否 1 是
     */
    @ApiModelProperty(value="是否启用  0 否 1 是")
    private String status;

    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createBy;

    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;

}
